<!--{include file="<!--{$oetplpath}-->public/widget_header.tpl"}-->
<script src="<!--{$skinpath}-->public/js/login.js"></script>
<div class="oereg_top">
  <div class="oereg_topcon">
    <div class="oereg_logo">
	  <a href="<!--{$config.siteurl}-->"><img src="<!--{$urlpath}--><!--{$config.logo}-->" /></a>
	</div>
    <div class="oereg_right">
	  还不是会员？<a href="<!--{routeurl module='passport' action='reg'}-->" class="reg">点此注册</a>
	</div>
    <div class="clear"></div>
  </div>
</div>
<div class="oe_login">
  <div class="hd">
    <h3>会员登录</h3>
    <p>请输入您的登录信息。如您尚未注册，请<a href="<!--{routeurl module='passport' action='reg'}-->">在此注册</a></p>
  </div>
  <div class="bd">
    <div class="left">
      <dl>
        <dt>登录帐号</dt>
        <dd>
          <input type="text" name="loginname" id="loginname" f="checkinput" />
          <p class="text" id="loginname_pt" f="changept" data-id="loginname">请输入用户名/手机号/邮箱</p>
          <p class="error" id="loginname_tips">请输入登录帐号</p>
        </dd>
        <div class="clear"></div>
      </dl>
      <dl>
        <dt>登录密码 </dt>
        <dd>
          <input type="password" name="password" id="password" f="checkinput" />
          <p class="text" id="password_pt" f="changept" data-id="password">请输入登录密码</p>
		  <p class="error" id="password_tips">请输入登录密码</p>
        </dd>
        <div class="clear"></div>
      </dl>

	  <!--{if $config.logincode == '1'}-->
      <dl class="ma">
        <dt>验证码</dt>
        <dd>
          <input type="text" name="checkcode" id="checkcode" f="checkinput" maxlength="5" />
          <img id="img_checkcode" src="<!--{$urlpath}-->source/include/validcode.php?type=number&width=65&height=30&num=5" />
          <p class="text" id="checkcode_pt" f="changept" data-id="checkcode">请输入验证码</p>
		  <p class="error" id="checkcode_tips">请输入验证码</p>
          <p class="refresh">
		    <a href="javascript:;" f="but_refresh"><i></i>换一个</a>
		  </p>
        </dd>
        <div class="clear"></div>
      </dl>
	  <!--{/if}-->

      <dl class="btn">
        <dt></dt>
        <dd>
		  <span f="but_loginpost" data-loading="login_loading"> 登录 </span> <label id="login_loading" style="display:none;"><img src="<!--{$skinpath}-->public/images/loading.gif" /></label>
		  <a href="<!--{routeurl module='passport' action='forget'}-->">忘记密码了?</a>
		</dd>
      </dl>
    </div>

    <div class="right">
      <ul>
	    <!--{if $config.qqlogin.flag == '1'}-->
        <li class="li_1" onclick="window.location.href='<!--{$oefile}-->?c=passport&a=auth&mod=qq';"><span><i></i>QQ登录</span></li>
		<!--{/if}-->
		<!--{if $config.sinalogin.flag == '1'}-->
        <li class="li_3" onclick="window.location.href='<!--{$oefile}-->?c=passport&a=auth&mod=sina';"><span><i></i>微博登录</span></li>
		<!--{/if}-->
		<!--{if $config.weixin_scanlogin == '1'}-->
		<li class="li_2" onclick="window.location.href='<!--{$oefile}-->?c=passport&a=auth&mod=scanwx';"><span><i></i>微信登录</span></li>
		<!--{/if}-->
      </ul>
    </div>

    <div class="line"> <span>或</span> </div>
    <div class="clear"></div>
  </div>
</div>

<!--{include file="<!--{$oetplpath}-->public/widget_footer.tpl"}-->
</body>
</html>